﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Left.aspx.cs" Inherits="SAWeb.Web.Admin.Left" %>

<%@ Import Namespace="Sands.Common" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" src="/App_Themes/back/scripts/jquery.min.js"></script>
    <script type="text/javascript" src="/App_Themes/back/scripts/navigation.js"></script>
    <link rel="stylesheet" type="text/css" href="/App_Themes/back/style/css.css" />
    <style type="text/css">
        html, body
        {
            background: #ebedef;
            margin: 0px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <ul id="main-nav">
        <asp:Repeater ID="rptTopMenu" runat="server">
            <ItemTemplate>
                <li><a href="<%#Page.Entity<HMenuItem>(p=>p.Url) %>" class="nav-top-item <%#Container.ItemIndex==0?"current":"" %>">
                    <b>
                        <%#Page.Entity<HMenuItem>(p=>p.ItemName) %></b></a>
                    <ul>
                        <asp:Repeater ID="rptLeftMenu" runat="server">
                            <ItemTemplate>
                                <li><a href="<%#Page.Entity<HMenuItem>(p=>p.Url) %>" target="main" class="menu"><b>
                                    <%#Page.Entity<HMenuItem>(p=>p.ItemName) %></b></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    <%--<ul id="main-nav">
        <li><a href="#" class="nav-top-item current"><b>栏目设置</b></a>
            <ul>
                <li></li>
                <li><a href="page/admin.html" target="main" class="menu"><b>aaa</b></a></li>
                <li><a href="page/none.html" target="main" class="menu"><b>aaa</b></a></li>
            </ul>
        </li>
        <li><a href="#" class="nav-top-item"><b>站点管理</b></a>
            <ul>
                <li><a href="Sys/SiteInfoEdit.aspx" target="main" class="menu"><b>站点设置</b></a></li>
                <li><a href="page/admin.html" target="main" class="menu"><b>角色管理</b></a></li>
                <li><a href="page/none.html" target="main" class="menu"><b>aaa</b></a></li>
            </ul>
        </li>
        <li><a href="#" class="nav-top-item"><b>系统管理</b></a>
            <ul>
                <li><a href="Sysuser/List.aspx" target="main" class="menu"><b>管理员管理</b></a></li>
                <li><a href="page/admin.html" target="main" class="menu"><b>角色管理</b></a></li>
                <li><a href="page/none.html" target="main" class="menu"><b>栏目设置</b></a></li>
            </ul>
        </li>
    </ul>--%>
    </form>
</body>
</html>
